<?php
/*
 * Created on 30.05.2007
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

//include('./lib/Doctrine/Record.php');

 class Mannschaft extends Doctrine_Record {

	public function setUp () {
		$this->hasOne("User", "Mannschaft.user_id");
	}

	public function setTableDefinition () {

		$this->setTableName("mannschaft");

		$this->hasColumn
		(
			"hattrick_id",
			"integer"
		);

		$this->hasColumn
		(
			"user_id",
			"integer"
		);

		$this->hasColumn
		(
			"mname",
			"string",
			50
		);
	}
 }
?>
